<el-dialog :close-on-click-modal="false"  :close-on-press-escape="false"  title="选择地址" class="dialogStyleBase maxHeight" width="96vw" :visible.sync="boxVisible" append-to-body
    :before-close="editBoxCancel">
    <div class="SelectAddressMap" v-loading="loadBox">
        <div class="search">
            <div class="input">
                <el-input clearable v-model="searchValue" placeholder="查询地址" style="width:100%">
                    <el-button slot="append" icon="el-icon-search" @click="search()">
                    </el-button>
                </el-input>
            </div>

        </div>
        
        <div class="map" v-if="boxVisible" id="SelectAddressMapContainer"></div>
        <div class="option" v-loading="loadOption">
            <div class="form">
                <el-form label-width="60px" label-position="top">
                    <el-form-item label="纬度">
                        <el-input v-model="addressInfo.lat"></el-input>
                    </el-form-item>
                    <el-form-item label="精度">
                        <el-input v-model="addressInfo.lng"></el-input>
                    </el-form-item>

                    <el-form-item label="地址">
                        {{addressInfo.province}}/{{addressInfo.city}}/{{addressInfo.region}}
                        <el-input v-model="addressInfo.detailAddress"></el-input>
                    </el-form-item>
                </el-form>

                
            </div>
            <div class="poisList" v-if="poisList.length>0">
                <div class="hh">附近</div>
                
                <div class="li" v-for="(item,index) in poisList" @click="selectPoisItem(item)">
                    <!-- {{getPoisItem(item)}} -->
                    {{item.title}}
                    {{item.address}}
                </div>
            </div>


        </div>
    </div>

    <div slot="footer" class="footer">
        <el-button @click="editBoxCancel()">取 消</el-button>
        <el-button type="primary" @click="submit()">确定</el-button>
        <!--         
        <div class="r">

            <el-button @click="editBoxCancel()">取 消</el-button>
            <el-button type="primary" @click="submit()" :disabled="!isOk">确定</el-button>
        </div> -->
    </div>
</el-dialog>